package cn.tedu.charging.order.feign;

import cn.tedu.charging.common.pojo.param.ChargingProgressParam;
import cn.tedu.charging.common.pojo.vo.ChargingProgressVO;
import cn.tedu.charging.common.pojo.vo.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("costService")
public interface CostClient {
     @PostMapping("/cost/calc")
     JsonResult<ChargingProgressVO>  doCalcPrice(@RequestBody ChargingProgressParam params);
}
